ADD_EXECUTABLE(test-pyck main.cpp demo.R)
TARGET_LINK_LIBRARIES(test-pyck pyck)

IF( CMAKE_SYSTEM_NAME MATCHES "Linux|FreeBSD" )
	TARGET_LINK_LIBRARIES(test-pyck pthread)
ENDIF()

IF( CMAKE_SYSTEM_NAME MATCHES "Linux" )
	TARGET_LINK_LIBRARIES(test-pyck rt)
ENDIF()
